package com.zc.custom.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户订单发票对象 charge_custom_order_invoice
 * 
 * @author gaojikun
 * @date 2023-06-15
 */
public class ChargeCustomOrderInvoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 用户唯一标识 */
    @Excel(name = "用户唯一标识")
    private String customCode;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderCode;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal chargingFee;

    /** 发票类型 */
    @Excel(name = "发票类型")
    private String invoiceType;

    /** 抬头类型 */
    @Excel(name = "抬头类型")
    private String invoiceHeaderType;

    /** 发票抬头 */
    @Excel(name = "发票抬头")
    private String invoiceHeader;

    /** 发票税号 */
    @Excel(name = "发票税号")
    private String invoiceDutyParagraph;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String invoiceEmail;

    /** 发票状态（字典）;0-待审核；1-已通过；2-已驳回；3-已取消 */
    @Excel(name = "发票状态", readConverterExp = "字=典")
    private String invoiceState;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String rejectReason;

    /** 审核人 */
    @Excel(name = "审核人")
    private String operatorCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomCode(String customCode) 
    {
        this.customCode = customCode;
    }

    public String getCustomCode() 
    {
        return customCode;
    }
    public void setOrderCode(String orderCode) 
    {
        this.orderCode = orderCode;
    }

    public String getOrderCode() 
    {
        return orderCode;
    }
    public void setChargingFee(BigDecimal chargingFee) 
    {
        this.chargingFee = chargingFee;
    }

    public BigDecimal getChargingFee() 
    {
        return chargingFee;
    }
    public void setInvoiceType(String invoiceType) 
    {
        this.invoiceType = invoiceType;
    }

    public String getInvoiceType() 
    {
        return invoiceType;
    }
    public void setInvoiceHeaderType(String invoiceHeaderType) 
    {
        this.invoiceHeaderType = invoiceHeaderType;
    }

    public String getInvoiceHeaderType()
    {
        return invoiceHeaderType;
    }

    public String getInvoiceHeader() {
        return invoiceHeader;
    }

    public void setInvoiceHeader(String invoiceHeader) {
        this.invoiceHeader = invoiceHeader;
    }

    public void setInvoiceDutyParagraph(String invoiceDutyParagraph)
    {
        this.invoiceDutyParagraph = invoiceDutyParagraph;
    }

    public String getInvoiceDutyParagraph() 
    {
        return invoiceDutyParagraph;
    }
    public void setInvoiceEmail(String invoiceEmail) 
    {
        this.invoiceEmail = invoiceEmail;
    }

    public String getInvoiceEmail() 
    {
        return invoiceEmail;
    }
    public void setInvoiceState(String invoiceState) 
    {
        this.invoiceState = invoiceState;
    }

    public String getInvoiceState() 
    {
        return invoiceState;
    }
    public void setRejectReason(String rejectReason) 
    {
        this.rejectReason = rejectReason;
    }

    public String getRejectReason() 
    {
        return rejectReason;
    }
    public void setOperatorCode(String operatorCode) 
    {
        this.operatorCode = operatorCode;
    }

    public String getOperatorCode() 
    {
        return operatorCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customCode", getCustomCode())
            .append("orderCode", getOrderCode())
            .append("chargingFee", getChargingFee())
            .append("invoiceType", getInvoiceType())
            .append("invoiceHeaderType", getInvoiceHeaderType())
            .append("invoiceHgeader", getInvoiceHeader())
            .append("invoiceDutyParagraph", getInvoiceDutyParagraph())
            .append("invoiceEmail", getInvoiceEmail())
            .append("createTime", getCreateTime())
            .append("invoiceState", getInvoiceState())
            .append("rejectReason", getRejectReason())
            .append("operatorCode", getOperatorCode())
            .toString();
    }
}
